/*
 * @Description: getters
 * @Author: Boide
 * @Date: 2021-09-03 17:16:19
 * @LastEditors: guiyi@hongyi.tech
 * @LastEditTime: 2021-09-07 10:29:09
 */
const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  roleId: state => state.user.roleId,
  menuList: state => state.user.menuList,
  permissions: state => state.user.authList
}
export default getters
